package cc.eddic.examinationsystem.web;


import cc.eddic.examinationsystem.core.BaseController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Slf4j
@Controller
public class HomeController  extends BaseController {
    @GetMapping("/login")
    public String login() {
        return "spring-security-login";
    }

    @GetMapping("/landing")
    public String landing() {
        return "landingPage";
    }

    @GetMapping("/403")
    public String accessDenied() {
        return "/error-403";
    }

    @GetMapping("/401")
    public String unauthorized() {
        return "/error-401";
    }
}
